#include <iostream>
#include<string>

using namespace std;




int wordToNumber(const string & word) {
        if (word == "zero") return 0;
        if (word == "one") return 1;
        if (word == "two") return 2;
        if (word == "three") return 3;
        if (word == "four") return 4;
        if (word == "five") return 5;
        if (word == "six") return 6;
        if (word == "seven") return 7;
        if (word == "eight") return 8;
        if (word == "nine") return 9;
        return -1;
    }
    




int main()
{
    string input, word = "";
    getline(cin, input);
    input += " ";
    int words = 0;
    bool isLatin = false;
    for (char ch : input)
    {
        if (ch == ' ') {
            words++;
            cout << word << "Size: " << word.size() << endl;
            word.clear();
        }
        else {
            word += ch;
            if (ch >= 'A' && ch <= 'z')
                isLatin = true;
        }
    }



    cout << "Wrong input";
}
